package com.xujian.flink.source;

import org.apache.flink.streaming.api.environment.StreamExecutionEnvironment;

/**
 * @author star xu
 * @date 2022/12/22 23:04
 * @Description:
 * @Slogan: 致敬大师, 致敬未来的自己
 */
public class MySourceMain {
    public static void main(String[] args) throws Exception {
        StreamExecutionEnvironment environment = StreamExecutionEnvironment.getExecutionEnvironment();
        environment.addSource(new MySource()).print("自定义source");
        environment.execute();
    }
}
